﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TechTest
{
    class Program
    {
        static void Main(string[] args)
        {
            var myVariable = new Product { Name = "Kayak", Category = "Watersports", Price = 275M };
            string name = myVariable.Name;
            
        }
    }

    public class Product
    {
        public int ProductID { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public decimal Price { get; set; }
        public string Category { get; set; }
    }

    //public class ShoppingCart : IEnumerable<Product>
    //{
    //    public List<Product> Products { get; set; }

    //    public IEnumerator<Product> GetEnumerato()
    //    {
    //        return Products.GetEnumerator();
    //    }
    //}
}
